home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / dev / basic / TCP_to_Blitz.lha / TCP-Extension / Error-Codes < prev    next >
Text File  |  1997-04-01  |  3KB  |  84 lines

  1. Error codes returned by Errno() function:
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. EPERM        1        /* Operation not permitted */
  5. ENOENT        2        /* No such file or directory */
  6. ESRCH        3        /* No such process */
  7. EINTR        4        /* Interrupted system call */
  8. EIO        5        /* Input/output error */
  9. ENXIO        6        /* Device not configured */
  10. E2BIG        7        /* Argument list too long */
  11. ENOEXEC        8        /* Exec format error */
  12. EBADF        9        /* Bad file descriptor */
  13. ECHILD        10        /* No child processes */
  14. EDEADLK        11        /* Resource deadlock avoided */
  15. ENOMEM        12        /* Cannot allocate memory */
  16. EACCES        13        /* Permission denied */
  17. EFAULT        14        /* Bad address */
  18. ENOTBLK        15        /* Block device required */
  19. EBUSY        16        /* Device busy */
  20. EEXIST        17        /* File exists */
  21. EXDEV        18        /* Cross-device link */
  22. ENODEV        19        /* Operation not supported by device */
  23. ENOTDIR        20        /* Not a directory */
  24. EISDIR        21        /* Is a directory */
  25. EINVAL        22        /* Invalid argument */
  26. ENFILE        23        /* Too many open files in system */
  27. EMFILE        24        /* Too many open files */
  28. ENOTTY        25        /* Inappropriate ioctl for device */
  29. ETXTBSY        26        /* Text file busy */
  30. EFBIG        27        /* File too large */
  31. ENOSPC        28        /* No space left on device */
  32. ESPIPE        29        /* Illegal seek */
  33. EROFS        30        /* Read-only file system */
  34. EMLINK        31        /* Too many links */
  35. EPIPE        32        /* Broken pipe */
  36. EDOM        33        /* Numerical argument out of domain */
  37. ERANGE        34        /* Result too large */
  38. EAGAIN        35        /* Resource temporarily unavailable */
  39. EWOULDBLOCK    35        /* Operation would block */
  40. EINPROGRESS    36        /* Operation now in progress */
  41. EALREADY    37        /* Operation already in progress */
  42. ENOTSOCK    38        /* Socket operation on non-socket */
  43. EDESTADDRREQ    39        /* Destination address required */
  44. EMSGSIZE    40        /* Message too long */
  45. EPROTOTYPE    41        /* Protocol wrong type for socket */
  46. ENOPROTOOPT    42        /* Protocol not available */
  47. EPROTONOSUPPORT    43        /* Protocol not supported */
  48. ESOCKTNOSUPPORT    44        /* Socket type not supported */
  49. EOPNOTSUPP    45        /* Operation not supported on socket */
  50. EPFNOSUPPORT    46        /* Protocol family not supported */
  51. EAFNOSUPPORT    47        /* Address family not supported by protocol family */
  52. EADDRINUSE    48        /* Address already in use */
  53. EADDRNOTAVAIL    49        /* Can't assign requested address */
  54. ENETDOWN    50        /* Network is down */
  55. ENETUNREACH    51        /* Network is unreachable */
  56. ENETRESET    52        /* Network dropped connection on reset */
  57. ECONNABORTED    53        /* Software caused connection abort */
  58. ECONNRESET    54        /* Connection reset by peer */
  59. ENOBUFS        55        /* No buffer space available */
  60. EISCONN        56        /* Socket is already connected */
  61. ENOTCONN    57        /* Socket is not connected */
  62. ESHUTDOWN    58        /* Can't send after socket shutdown */
  63. ETOOMANYREFS    59        /* Too many references: can't splice */
  64. ETIMEDOUT    60        /* Connection timed out */
  65. ECONNREFUSED    61        /* Connection refused */
  66. ELOOP        62        /* Too many levels of symbolic links */
  67. ENAMETOOLONG    63        /* File name too long */
  68. EHOSTDOWN    64        /* Host is down */
  69. EHOSTUNREACH    65        /* No route to host */
  70. ENOTEMPTY    66        /* Directory not empty */
  71. EPROCLIM    67        /* Too many processes */
  72. EUSERS        68        /* Too many users */
  73. EDQUOT        69        /* Disc quota exceeded */
  74. ESTALE        70        /* Stale NFS file handle */
  75. EREMOTE        71        /* Too many levels of remote in path */
  76. EBADRPC        72        /* RPC struct is bad */
  77. ERPCMISMATCH    73        /* RPC version wrong */
  78. EPROGUNAVAIL    74        /* RPC prog. not avail */
  79. EPROGMISMATCH    75        /* Program version wrong */
  80. EPROCUNAVAIL    76        /* Bad procedure for program */
  81. ENOLCK        77        /* No locks available */
  82. ENOSYS        78        /* Function not implemented */
  83. EFTYPE        79        /* Inappropriate file type or format */
  84.